<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Facades\DB;

class Test extends Model
{
    protected $table   = 'wx_user';

    public $timestamps = false;  //关闭自动更新时间戳

    public static function demo()
    {
        return DB::select('select * from wx_user');
    }
}
